package com.cloud.pole.shop.service.order;

import java.util.Map;

import com.cloud.pole.shop.model.entity.order.ShopOrderComment;
import com.cloud.pole.shop.model.entity.order.ShopOrderCommentAdmin;
import com.github.pagehelper.PageInfo;

/*
*2019年3月20日
*cloud-shop
*author:frank-chen
*/
public interface OrderCommentService {
	
	public Boolean addOrderComment(String token, Long orderItemId, Integer starNum, String commentContent)  throws Exception;
	
	public PageInfo<ShopOrderComment> getPageOrderCommentList(String commentType, Integer goodsId, Integer pageSize, Integer pageNum)  throws Exception;

	/**
	 * 
	 * <p>Title: 后台分页查询评价信息</p>  
	 * <p>Description: </p>  
	 * @param map
	 * @param pageNo
	 * @param pageSize
	 * @return
	 */
	public PageInfo<ShopOrderCommentAdmin> selectPageShopOrderCommentAdminList(String token, Map<String, Object> map,
			Integer pageNo, Integer pageSize) throws Exception ;
	
	public Boolean deletCommentAdmin(String token, Long commentId)  throws Exception;
}
